package com.prd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.prd.model.EntMeetSign;
import com.prd.vo.EntMeetSignVo;

public interface EntMeetSignService extends IService<EntMeetSign> {

    /**
     * @param meetId 会议ID
     * @param status 状态
     * @return
     */
    int insertInfo(Long meetId, Integer status);

    /**
     * 添加请假信息
     *
     * @param entMeetSign
     * @return
     */
    int insertLeaveInfo(EntMeetSign entMeetSign);

    /**
     * 查询请假详情
     *
     * @param meetId
     * @return
     */
    EntMeetSignVo details(Long meetId);

    /**
     * 修改请假信息
     *
     * @param entMeetSign
     * @return
     */
    int updateInfo(EntMeetSign entMeetSign);

    /**
     * 取消请假信息
     *
     * @param id
     * @return
     */
    int cancel(Long id);
}
